import { createRouter, createWebHashHistory } from "vue-router"

const routes = [
  {
    path: '/',
    redirect: '/index'
  },
  {
    path: '/index',
    name: 'index',
    component: () => import('../views/index1/index.vue')
  },
  {
    path: '/index1',
    name: 'index1',
    component: () => import('../views/index1/index1.vue')
  },
  {
    path: '/index2',
    name: 'index2',
    component: () => import('../views/index1/index2.vue')
  },
  {
    path: '/index3',
    name: 'index3',
    component: () => import('../views/index1/index3.vue')
  },
  {
    path: '/index4',
    name: 'index4',
    component: () => import('../views/index1/index4.vue')
  },
  {
    path: '/index5',
    name: 'index5',
    component: () => import('../views/index2/index5.vue')
  },
  {
    path: '/index6',
    name: 'index6',
    component: () => import('../views/index2/index6.vue')
  },
  ,
  {
    path: '/index7',
    name: 'index7',
    component: () => import('../views/index2/index7.vue')
  },
  {
    path: '/index8',
    name: 'index8',
    component: () => import('../views/index2/index8.vue')
  },
  {
    path: '/index9',
    name: 'index9',
    component: () => import('../views/index2/index9.vue')
  },
  {
    path: '/index10',
    name: 'index10',
    component: () => import('../views/index2/index10.vue')
  },
  {
    path: '/index11',
    name: 'index11',
    component: () => import('../views/index2/index11.vue')
  },
  {
    path: '/index12',
    name: 'index12',
    component: () => import('../views/index2/index12.vue')
  },
  {
    path: '/index13',
    name: 'index13',
    component: () => import('../views/index2/index13.vue')
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})
export default router